home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / fubyte.z / fubyte
Encoding:
Text File  |  2002-10-03  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ffffuuuubbbbyyyytttteeee((((DDDD3333XXXX))))                                                        ffffuuuubbbbyyyytttteeee((((DDDD3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ffff_uuuu_bbbb_yyyy_tttt_eeee - fetch (read) a byte from user space
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _iiii_nnnn_tttt _ffff_uuuu_bbbb_yyyy_tttt_eeee_((((_cccc_hhhh_aaaa_rrrr _****_u_s_r__v__a_d_d_r_))))_;;;;
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _ffff_uuuu_bbbb_yyyy_tttt_eeee reads a single (8-bit) byte from the specified address,
  16.      _u_s_r__v__a_d_d_r, in the currently mapped user process address space.
  17.  
  18.    RRRReeeettttuuuurrrrnnnn VVVVaaaalllluuuueeeessss
  19.      Upon successful completion, _ffff_uuuu_bbbb_yyyy_tttt_eeee returns the value of the byte at
  20.      _u_s_r__v__a_d_d_r, a value from 0 to 255.
  21.  
  22.      Otherwise, _ffff_uuuu_bbbb_yyyy_tttt_eeee returns -1, indicating an invalid user virtual address.
  23.  
  24.    SSSSeeeeeeee AAAAllllssssoooo
  25.      _ffff_uuuu_wwww_oooo_rrrr_dddd(D3X), _ssss_uuuu_bbbb_yyyy_tttt_eeee(D3X), _cccc_oooo_pppp_yyyy_iiii_nnnn(D3)
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.